package com.xj.demo.string;

public class StringExer2 {
    public static void main(String[] args) {
        String s2 = "ab";
        String s1 = new String("ab");
        s1.intern();
        System.out.println(s1 == s2);
    }
}
